#ifndef _H_C_APPLICATION_HELPER_H_
#define _H_C_APPLICATION_HELPER_H_

#include "SServiceFrontendID.h"

namespace QWER
{
	QCLASS IRunner;
	QCLASS IApplication;

	QDLL_EXPORT QCLASS CApplicationHelper
	{
	public:
		CApplicationHelper(PTR(IApplication) poApplication);
		inline PTR(IRunner) GetRunner() { return m_poRunner; }

	private:
		PTR(IApplication) m_poApplication = NULL_PTR;
		IRunner* m_poRunner = NULL_PTR;

	private:
		friend class IRunner;
		void _SetRunner(IRunner* poRunner) { m_poRunner = poRunner; }
	};
}

#endif
